package com.hi5.csocso.domain;

import java.io.Serializable;

/**
 * Base of all entities. It will be so useful when common {@code toString}
 * and {@code hashCode} methods will be implemented. (That is why I pass
 * extending class.)
 *
 * @author mate
 *
 */
public abstract class AbstractEntity<C extends AbstractEntity<C>> implements Serializable {
    private Long id;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }
}
